package myJlite.entity;

import java.io.Serializable;

import jvlite.dao.createTable.Types;
import jvlite.mvc.annotaion.Column;
import jvlite.mvc.annotaion.Constraints;
import jvlite.mvc.annotaion.Table;

@Table(name = "tbl_exam")
public class ExamVO implements Serializable {

	/**
	 * @author Administrator
	 */
	private static final long serialVersionUID = -6230557998717565503L;
	@Column(name = "id", constraints = @Constraints(primaryKey = true), length = 15, type = Types.LONG)
	private Long id;
	@Column(name = "username", type = Types.VARCHAR)
	private String username;
	@Column(name = "password", type = Types.VARCHAR)
	private String password;
	@Column(type = Types.BOOLEAN)
	private Boolean sex;
	@Column(name = "", type = Types.LONG)
	private Long marks;
	@Column(name = "", type = Types.LONG)
	private Long role_id;

	public Long getId() {
		return id;
	}

	public void setId(Long id) {
		this.id = id;
	}

	public String getUsername() {
		return username;
	}

	public void setUsername(String username) {
		this.username = username;
	}

	public String getPassword() {
		return password;
	}

	public void setPassword(String password) {
		this.password = password;
	}

	public Boolean getSex() {
		return sex;
	}

	public void setSex(Boolean sex) {
		this.sex = sex;
	}

	public Long getMarks() {
		return marks;
	}

	public void setMarks(Long marks) {
		this.marks = marks;
	}

	public Long getRole_id() {
		return role_id;
	}

	public void setRole_id(Long role_id) {
		this.role_id = role_id;
	}

	@Override
	public String toString() {
		return "ExamVO [id=" + id + ", username=" + username + ", password="
				+ password + ", sex=" + sex + ", marks=" + marks + ", role_id="
				+ role_id + "]";
	}

}
